/* Estilos generales y reset */
* {
    margin: 0;
    box-sizing: border-box;
    text-decoration-style: none;
}

body {
    background-color: black;
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    color: #ffffff;
    padding: 20px;
}
/* Link styles */
a {
	color: white; 
}
a:link{
	/*cambio de visualizacion de los hypervinculos*/
	color: white;
	text-decoration: none;
}
a:visited {
	/*cambio de visualizacion de los hypervinculos visitados */
	color: grey;
	text-decoration: none;
}

/* Estilos de los items y sus componentes */
.item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
/* Estilos del overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

/* Efectos hover */
.item:hover .overlay {
    opacity: 1;
}

.item:hover img {
    transform: scale(1.1);
}

/* Estilos del contenido del overlay */
.overlay h3 {
    color: #fff;
    margin-bottom: 10px;
}

.overlay p {
    color: #ddd;
    margin-bottom: 15px;
}

.overlay a {
    color: #fff;
    text-decoration: none;
    background-color: #747995;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.overlay a:hover {
    background-color: #e2ad4c;
}
/* Marquesina  desplazamiento*/
.marquesina {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
	position: relative;
}

.marquesina p {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    from {
		transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Imagenes + Texto * Prompt de vocales*/
.containerPrompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 20px;
}

.image-containerPrompt  {
    flex: 1;
}

.image-containerPrompt  img {
    width: 100%;
    height: auto;
    display: block;
} 

.text-containerPrompt  {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center ;

	padding: 20px;
    text-align: center;
}

.text-containerPrompt h2{
	font-size: 8vh;
	padding: 2rem;
}
.text-containerPrompt h3{
	font-size: 6vh;
}

/* ----- FOOTER -----*/
.headerBottom {
	position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
	background-color: black;
	color: white;
	text-align: center;
	opacity: 0.4;
}
.nav {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	padding-left: 20px;
	padding-right: 20px;
	font-size: 2vw;
	text-align: center;	
}
.nav a {
	padding-left: 5vw;
	padding-right: 5vw;
}
.nav a:hover {
	background-color: #ccc;
	color: black;
}
.footer {	
	opacity: .2;
	position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
	background-color: black;
	color: white;
	text-align: center;
}
.faldonBottom {
	display: grid;
	grid-column: 2/6;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 40px;
}
@media (max-width: 768px){	
	.nav {
		flex-flow: column nowrap;
		font-size: 3.6vh;
	}
	.nav a {
		padding-top: 10px;
	}
	.iconoNavLeft {
		position: fixed;
    	left: 0;
    	bottom: 2px;
    	width: 100px;
    	font-size: 5rem;		
	}
	.iconoNavRight {
		position: fixed;
    	right:  0;
    	bottom: 2px;
    	width: 100px;
    	font-size: 5rem;
	}

	.containerPrompt  {
        flex-direction: column;
    }
    .image-containerPrompt , .text-containerPrompt  {
        width: 100%;
    }
	.text-containerPrompt h2{
		font-size: 3rem;
		padding: 0;
	}
	.text-containerPrompt h3{
		font-size: 1rem;
	}

	
	/*---- Estilos descripciones de proyectos ----*/
	
	/* Estilos que quitan de style.css general 
	 .cabeceraProjects{margin-left: 0px; }
	.cabeceraProjects h1{font-size:  2rem;}
	.cabeceraProjects h2{font-size:  1rem;} */
	.AboutProjects{font-size: 0.7rem; padding-top: 3rem;}
	#title-tejido{display: none;}
	.marcoDescripcion { padding: 0px;}
	.card-container{ flex-direction: column; margin-bottom: 6rem;}
	.card-content { letter-spacing: 0.5rem; padding: 0;}
	.card-link{padding-bottom: 3rem;}

	#blackDown{display: none;}

}